package com.xxl.job.admin.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.xxl.job.admin.core.model.XxlJobInfo;

import java.util.List;

public interface XxlJobInfoService extends IService<XxlJobInfo> {
    List<XxlJobInfo> getJobsByGroup(int jobGroup);

    List<XxlJobInfo> scheduleJobQuery(long l, int preReadCount);

    int scheduleUpdate(XxlJobInfo jobInfo);

    Page<XxlJobInfo> pageList(int start, int length, int jobGroup, int triggerStatus, String jobDesc, String executorHandler, String author);
}
